package zhongche.bean;

import java.util.Objects;

public class ArgumentsType {

    private String dataType;

    private String dataValue;

    public ArgumentsType() {
    }

    public ArgumentsType(String dataType, String dataValue) {
        this.dataType = dataType;
        this.dataValue = dataValue;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataValue() {
        return dataValue;
    }

    public void setDataValue(String dataValue) {
        this.dataValue = dataValue;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ArgumentsType that = (ArgumentsType) o;
        return Objects.equals(dataType, that.dataType) &&
                Objects.equals(dataValue, that.dataValue);
    }

    @Override
    public int hashCode() {
        return Objects.hash(dataType, dataValue);
    }

    @Override
    public String toString() {
        return "ArgumentsType{" +
                "dataType='" + dataType + '\'' +
                ", dataValue='" + dataValue + '\'' +
                '}';
    }
}
